package com.cskaoyan.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author stone
 * @date 2022/03/26 09:51
 */
@RestController
public class HelloController {

    @RequestMapping("hello")
    public String hello() {
        /*try {
            int i = 1 / 0;
        } catch (Exception exception) {
            exception.printStackTrace();
        }*/
        int i = 1 / 0;
        return "success";
    }
}
